package 设计模式.CGLIB动态代理;


import net.sf.cglib.proxy.Enhancer;
import net.sf.cglib.proxy.MethodInterceptor;
import net.sf.cglib.proxy.MethodProxy;
import org.aopalliance.intercept.MethodInvocation;

import java.lang.reflect.Method;


public class MyCglibFactory implements MethodInterceptor {
    private Tank target;

    public MyCglibFactory(Tank target) {
        this.target = target;
    }


    @Override
    public Object invoke(MethodInvocation methodInvocation) throws Throwable {
        return null;
    }
}
